import request from '@/utils/request'


export function srcOut(query) {
  return request({
    url: '/crop/out/list',
    method: 'get',
    params: query
  })
}

export function addType(data) {
  return request({
    url: '/cord/business/add',
    method: 'post',
    data: data
  })
}

export function updateType(data) {
  return request({
    url: '/cord/business/updateBusiness',
    method: 'put',
    data: data
  })
}

export function delType(id) {
  return request({
    url: '/cord/business/' + id,
    method: 'delete'
  })
}




